Make the usage of spaces next to square brackets consistent
authorIvan Ukhov <ivan.ukhov@gmail.com>
Mon, 27 Apr 2015 06:26:28 +0000 (08:26 +0200)
committerIvan Ukhov <ivan.ukhov@gmail.com>
Mon, 27 Apr 2015 06:26:28 +0000 (08:26 +0200)
src/doc/build-script.md
src/doc/config.md
src/doc/manifest.md

index 61ff5e44dd344dc3e1cac93ec819eeb32521d21a..96a796bf9f1b46a59a3db3864ec30f1389022a4d 100644 (file)
@@ -294,7 +294,7 @@ Pretty similar to before! Next, the manifest:
 [package]
 name = "hello-world-from-c"
 version = "0.1.0"
-authors = [ "you@example.com" ]
+authors = ["you@example.com"]
 build = "build.rs"
 ```
 
index 9cfab21bafaad9be053d6f7b963caaef7d48e984..d48c9dddda28228c75e1c37fd5ed06e434235b90 100644 (file)
@@ -37,7 +37,7 @@ value unless otherwise noted.
 ```toml
 # An array of paths to local repositories which are to be used as overrides for
 # dependencies. For more information see the Cargo Guide.
-paths = [ "/path/to/override" ]
+paths = ["/path/to/override"]
 
 [cargo-new]
 # This is your name/email to place in the `authors` section of a new Cargo.toml
index c12765abd10093e67d8481acfc440c30c4b1a360..87d37acd0eac701cedc49a13ebc45f9cdf582dd5 100644 (file)
@@ -8,7 +8,7 @@ The first section in a `Cargo.toml` is `[package]`.
 [package]
 name = "hello_world" # the name of the package
 version = "0.1.0"    # the current version, obeying semver
-authors = [ "you@example.com" ]
+authors = ["you@example.com"]
 ```
 
 All three of these fields are mandatory. Cargo bakes in the concept of